package kuonjisai.oop;

public class J31_FanVO {

	private final static int SLOW = 1;
	private final static int MEDIUM = 2;
	private final static int FAST = 3;

	private int speed;
	private boolean on;
	private float radius;
	private String color;
	
	public J31_FanVO() {
		this.speed = this.SLOW;
		this.on = false;
		this.radius = 5.0F;		
		this.color = "blue";	
	}
	public J31_FanVO( int speed, boolean on, float radius, String color) {
		this.speed = speed;
		this.on = on;
		this.radius = radius;
		this.color = color;
		
	}
	
	
	public int getSpeed() {
		return this.speed;
	}
	public void setSpeed(int speed) {
		this.speed = speed;
	}
	public boolean isOn() {
		return this.on;
	}
	public void setOn(boolean on) {
		this.on = on;
	}
	public float getRadius() {
		return radius;
	}
	public void setRadius(float radius) {
		this.radius = radius;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public static int getSlow() {
		return SLOW;
	}
	public static int getMedium() {
		return MEDIUM;
	}
	public static int getFast() {
		return FAST;
	}
	
	
	
	
} // J31_FanVO
